* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* background-clip: content-box; */
}

html {
  width: 100vw;
  height: 100vh;
  position: relative;
}

article {
  width: 95vw;
  /* height: 400px; */
  border: 1px solid #ccc;
  display: grid;
  grid-template-rows: 80px 1fr;
  margin: 0 auto;
  margin-top: 30px;
}

.top {
  padding: 10px;
  /* background-color: blueviolet; */
  display: grid;
  grid-template-columns: 250px 250px 250px 1fr;
  justify-items: center;
  align-items: center;
}

button {
  width: 80px;
  height: 35px;
  justify-self: start;
  background-color: #3498db;
  color: white;
  border: none;
  outline: none;
  border-radius: 5px;
}

.top>label>input {
  height: 35px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px;
}

thead {
  /* display: block; */
  background-color: rgb(245, 245, 245);
  height: 35px;
}

td,
th {
  padding: 15px;
}

td {
  /* border: 1px solid #ccc; */
  background-color: white;
}

td>span:nth-child(1) {
  color: red;
  cursor: default;
}

td>span:nth-child(2) {
  color: #3498db;
  margin-left: 30px;
  cursor: default;
}

.test {
  background-color: red;
}

.main {
  /* padding: 10px; */
  background-color: rgb(245, 245, 245);
}

table {
  width: 100%;
  text-align: left;
  /* background-color: skyblue; */
}

.id {
  width: 180px;
}

.title {
  width: 350px;
}

.person {
  width: 180px;
}

.time {
  width: 350px;
}

.dialogbg {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, .3);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dialog {
  width: 500px;
  /* height: 350px; */
  border-radius: 10px;
  background-color: #fff;
}

h2 {
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

.itemmsg {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.itemmsg>input {
  width: 95%;
  height: 40px;
  margin: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 15px;
}

.btns {
  margin-bottom: 15px;
}

.btns>button {
  margin: 0 10px;
}